﻿using System;
using System.Collections.Generic;

namespace NewFormatProject.Infrastructure.EFCore
{
    public partial class SysRights
    {
        public SysRights()
        {
            InverseRParent = new HashSet<SysRights>();
            RightConfigDetails = new HashSet<RightConfigDetails>();
            UserRights = new HashSet<UserRights>();
        }

        public int RId { get; set; }
        public string RName { get; set; }
        public string RUrl { get; set; }
        public int RIsBan { get; set; }
        public int? RParentId { get; set; }
        public int RHasMenu { get; set; }
        public DateTime RCreateTime { get; set; }

        public virtual SysRights RParent { get; set; }
        public virtual ICollection<SysRights> InverseRParent { get; set; }
        public virtual ICollection<RightConfigDetails> RightConfigDetails { get; set; }
        public virtual ICollection<UserRights> UserRights { get; set; }
    }
}
